<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="format-detection" content="telephone=no" />
		<meta name="viewport" content="width=320,user-scalable=no" />
		<title></title>
		<link rel="stylesheet" href="css/lhj.css" />
	</head>
	<body>
		
		<div class="super">
			<div class="top">
				<marquee>
					<label>13388888888 夺宝盈利</label>
					<span>200金币</span>
				</marquee>
			</div>
			<div class="header">
				<div class="jinbi">
					<img src="imgs/user/jinbishuliang.png" />
					<p class="jbsl">0.0</p>
				</div>
				<p class="cztx">
					<img class="btncz" src="imgs/user/chongzhi.png" />
					<img src="imgs/lhj/back.png" />
				</p>
			</div>
			
			<div class="danhaoinp">
				<img src="imgs/lhj/danhao.png" />
				<div class="danhao28">1234567890123456789012345678</div>
				<div class="divhelp"></div>
			</div>			
			<div class="laohuijibox">
				<div class="lhjbox">
					<img src="imgs/lhj/lhjbg.gif" />
					
					<div class="inlhjbox">
						<div class="laohuji">
							<div></div>
							<div></div>
							<div></div>
						</div>
					</div>
					
				</div>
			</div>
			
			<div class="lhjbody">
				<img src="imgs/lhj/lhjbody.png" />
				<div class="btnlr cf">
					<div class="left">
						<img src="imgs/lhj/touzhu.png" />
						<div class="touzhu">12.50</div>
						<p>
							<label>收益</label>
							<span>950金币</span>
						</p>
						<div class="jjcc cf">
							<img class="jia" src="imgs/lhj/jia.png" />
							<img class="jian" src="imgs/lhj/jian.png" />
							<img class="cheng" src="imgs/lhj/cheng.png" />
							<img class="chu" src="imgs/lhj/chu.png" />
						</div>
					</div>
					<div class="right">
						<img src="imgs/lhj/hongbaotiao.png" />
						<div class="duobao cf">
							<p>夺5次/<span>0</span>次</p>
							<label>1金币</label>
						</div>
						<div class="caidaxiao cf">
							<img class="caida" src="imgs/lhj/caida.png" />	
							<img class="caixiao" src="imgs/lhj/caixiao.png" />
						</div>
					</div>
				</div>
				<div class="jilu">
					<img class="jlxd" src="imgs/lhj/jiluxiadan.png" />
					<img class="jlzj" src="imgs/lhj/jiluzijin.png" />
				</div>
			</div>
			<div class="ofst"></div>
			
			<div class="bured"></div>
			
			<div class="fot" style="">
				<img src="imgs/index/footer.png" />
			</div>
		</div>
		
		
		<div class="fix" style="display: none;">
			
			<div class="caiduile" style="display: none;">
				<img class="fixbgimg" src="imgs/user/caiduile.png" />
				<div class="ift">
					<p>9.5 金币</p>
				</div>
				<div class="ifb">
					<label>交易单号</label>
					<span class="num28">1234567890123456789012345<font>123</font></span>
					<label>单号结果</label>
					<span>6-大</span>
					<label>夺宝详情</label>
					<span>下单5金币<font>猜大</font></span>
					<label>额外奖励</label>
					<span>无</span>
				</div>
				<div class="lingqu"></div>
			</div>
			
			<div class="caicuole" style="display: none;">
				<img class="fixbgimg" src="imgs/user/caicuole.png" />
				<div class="ifb">
					<label>交易单号</label>
					<span>126546431684313<font class="green">123</font></span>
					<label>单号结果</label>
					<span class="green">6-大</span>
					<label>夺宝详情</label>
					<span>下单5金币<font class="red">猜大</font></span>
					<label>额外奖励</label>
					<span class="red">234顺子 奖100金币</span>
					<h2>亏损 10 金币</h2>
				</div>
				<div class="cclqe"></div>
				<div class="openhelp2"></div>
			</div>
			
			<div class="duobaojilu" style="display: none;">
				<div class="fixclose"></div>
				<img class="fixbgimg" src="imgs/user/duobaobg.png" />
				<div class="list">
					<div class="item">
						<p>位数: <span>961</span></p>
						<p>下单 5 积分 <span>猜大 盈利</span> </p>
					</div>
					<div class="item">
						<p>位数: <span>961</span></p>
						<p>下单 5 积分 <span>猜大 盈利</span> </p>
					</div>
					<div class="item">
						<p>位数: <span>961</span></p>
						<p>下单 5 积分 <span>猜大 盈利</span> </p>
					</div>
					<div class="item">
						<p>位数: <span>961</span></p>
						<p>下单 5 积分 <span>猜大 盈利</span> </p>
					</div>
				</div>
			</div>
			
			<div class="zijinjilu" style="display: none;">
				<div class="fixclose"></div>
				<img class="fixbgimg" src="imgs/user/zijinbg.png" />
				<div class="list">
					<div class="item">
						<label>今天</label>
						<span>夺宝 + 20.00</span>
						<label>23:21:15</label>
						<span>余额 30.00</span>
					</div>
					<div class="item">
						<label>今天</label>
						<span>夺宝 + 20.00</span>
						<label>23:21:15</label>
						<span>余额 30.00</span>
					</div>
				</div>
			</div>
			
			<div class="chongzhi" style="display: none;">
				<div class="fixclose"></div>
				<img class="fixbgimg" src="imgs/user/chongzhibg.png" />
				<div class="infobox">
					<div class="wechartnotbind">微信未绑定</div>
					<p>按下图步骤完成第2步即完成绑定</p>
					<img src="imgs/user/czewm.png" />
				</div>
			</div>
			
			<div class="bangzhu" style="display: none;">
				<div class="fixclose"></div>
				<img class="fixbgimg" src="imgs/user/bangzhubg.png" />
				<div class="infobox">
					<img src="imgs/user/bangzhu1.png" />
				</div>
			</div>
			
			<div class="bangzhu2" style="display: none;">
				<div class="fixclose"></div>
				<img class="fixbgimg" src="imgs/user/bangzhubg.png" />
				<div class="infobox">
					<img src="imgs/lhj/bangzhu2.png" />
				</div>
			</div>
			
			<div class="tishi" style="display: none;">
				<div class="fixclose"></div>
				<img class="fixbgimg" src="imgs/lhj/ordertishi.png" />
				<div class="infobox">
					<h2>
						下单<span>5</span>金币，
						<label>猜大</label>
					</h2>
					<img class="querenxiadan" src="imgs/lhj/queding.png" />
					<ol>
						<li>下单后系统将自动提现 1 元至用户微信钱包;</li>
						<li>本次提现的微信交易单号即为夺宝单号;</li>
					</ol>
				</div>
			</div>
			
			<div class="meiriqiandao" style="display: none;">
				<img class="bg" src="imgs/user/meiribg.png" />
				<img class="img" src="imgs/lhj/duobaowuci.png" />
				<div class="qdlqlq"></div>
			</div>
			
		</div>
		
	</body>
	
	<script type="text/javascript" src="js/jquery-1.12.3.min.js" ></script>
	<script type="text/javascript" src="../js/laohuji3.js" ></script>
	
	<script>
		
		$(function(){
			var cls = [".top", ".header", ".danhaoinp", ".laohuijibox", ".lhjbody"];
			var sumh = 0;
			var top = document.querySelector(".lhjbody");
		
			if ($(".super").height() < 465) {
				$(".danhaoinp").css("margin-top", "70px");
			}
		});
		
		
	</script>
	
	
	<script>
		// 所有的关闭
		$(".fixclose").on("click", function(){
			closeAll();
		});
		// 绑定每个按钮的点击事件
		$(".btncz").on("click", function(){
			openFix(".chongzhi");
		});
		// 帮助
		$(".divhelp").on("click", function(){
			openFix(".bangzhu");
		});
		// 帮助2
		$(".openhelp2").on("click", function(){
			openFix(".bangzhu2");
			console.log("111")
		});
		
		// 下单记录
		$(".jlxd").on("click", function(){
			openFix(".duobaojilu");
		});
		// 资金记录
		$(".jlzj").on("click", function(){
			openFix(".zijinjilu");
		});
		
		// 夺宝5次
		$(".duobao").on("click", function(){
			openFix(".meiriqiandao");
		});
		$(".qdlqlq").on("click", function(){
			location.reload();
		});
		
		$(".caida").on("click", function(){
			xiadantishi();
		});
		
		
		// 猜对了 点击领取
		$(".lingqu").on("click", function(){
			location.reload();
		});
		// 猜错了确定
		$(".cclqe").on("click", function(){
			location.reload();
		});
		
		
		// test
//		$(".jia").on("click", function(){
//			openCaiduile();
//		});
//		$(".jian").on("click", function(){
//			openCaicuole();
//		});
		$(".cheng").on("click", function(){
			lhj.start();
		});
		$(".chu").on("click", function(){
			lhj.funend(2, 5, 9);
		});
		
		
		// 下单提示
		function xiadantishi(){
			openFix(".tishi");
		}
		
		
		// 这个方法打开猜对了
		function openCaiduile(){
			openFix(".caiduile");
		}
		// 这个方法打开猜错了
		function openCaicuole(){
			openFix(".caicuole");
		}
		
		// 打开指定的浮窗
		function openFix(ci){
			$(".fix " + ci).show();
			$(".fix").show();
			absCenter(ci);
		}
		
		function closeAll(){
			$(".fix > div").hide();
			$(".fix").hide();
		}
		function absCenter(ci){
			var sh = $(".super").height();
			var h = $(ci).height();
			$(ci).css("top", (sh-h)/2);
		}
	</script>
	
	<script>
		var lhj;
		window.onload = function(){
			// 实例化
			lhj = new laohuji(".inlhjbox");
		}
		
	</script>
	
	
</html>
